from django.db.models import get_model

#orm_obj consists of the (app_label, model_name, obj_id) tuple, and config_dict is a dictionary of configurations
def get_deliberation(orm_obj, config_dict, *args, **kwargs):
	model = get_model(orm_obj[0], orm_obj[1])
	obj = get_object_or_404(model, id=orm_obj[2])
	
    